package com.woniuxy.three.pms.order.service;

import java.util.List;

import com.woniuxy.three.pms.bean.OrderChildBean;

public interface IOrderChildService {
	 	int deleteByPrimaryKey(Integer id);

	 	int deleteByOrderid(Integer orderid);											//通过订单id删除
	 	
	    int insert(OrderChildBean record);

	    int insertSelective(OrderChildBean record);

	    OrderChildBean selectByPrimaryKey(Integer id);

	    int updateByPrimaryKeySelective(OrderChildBean record);					//动态更新
	    	 
	    int updateByPrimaryKey(OrderChildBean record);								//更新全部
	    
	    public List<OrderChildBean>   findbyorderid(Integer id);					//通过订单id查找子订单
}
